package com.gugee.ins.common.dal.service.statistics;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.statistics.InsStBloggerIncome;;

import java.util.List;

/**
 * InsStBloggerIncomeDao
 * @author Huangxin
 */
public interface InsStBloggerIncomeDao extends IService<InsStBloggerIncome> {
    /**
     * 根据uid 获取收入统计信息
     * @param uid
     * @return
     */
    List<InsStBloggerIncome> findIncomeByUid(long uid);

    /**
     * 根据uid 删除收入统计信息
     * @param uid
     * @return
     */
    void deleteByUid(long uid);
}
